<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <link rel="stylesheet" href="./grid.css" />
    <style>
      .grid {
        height: 300px;
        grid-template-rows: repeat(2, 50px);
        grid-template-columns: repeat(5, 100px);
        background-color: red;
        grid-auto-flow: row;
        /* grid-auto-flow: column; */
      }
      .item-a {
        grid-column: 1;
        grid-row: 1 / 3;
        background-color: orange;
      }
      .item-b {
        background-color: pink;
      }
      .item-c {
        background-color: yellow;
      }
      .item-d {
        background-color: green;
      }
      .item-e {
        grid-column: 5;
        grid-row: 1 / 3;
        background-color: blue;
      }
    </style>
  </head>
  <body>
    <section class="grid">
      <div class="item-a">item-a</div>
      <div class="item-b">item-b</div>
      <div class="item-c">item-c</div>
      <div class="item-d">item-d</div>
      <div class="item-e">item-e</div>
    </section>
  </body>
</html>
